import com.bite.www.TextMeda;

import java.util.Arrays;
import static java.lang.Math.*;
import java.util.Date;

class Student{
    private String name;
     private int age;
    private String stuNum;
    public void setName(String name){
        this.name=name;
    }
    public String getName(){
        return this.name;
    }
    public void goToSchool(){
        System.out.println(this.name+"去上学");
    }
    public void eat(){
        System.out.println(this.name+"去吃饭");
    }
    public void goToShopping(){
        System.out.println(this.name+"去购物");
    }
    public void goToClass(){
        System.out.println(this.name+"去上课");
    }
//    public Student(String name,int age,String stuNum){
//        this.name=name;
//        this.age=age;
//        this.stuNum=stuNum;
//    }
//
//    public Student(String name, int age, String stuNum) {
//        this.name = name;
//        this.age = age;
//        this.stuNum = stuNum;
//    }

//    public Student(){
//      this("小子",18,"6020242578");
//        System.out.println("调用一个参数。。。");
//    }
}
public class Text {
    public static void main(String[] args) {
//       Student student=new Student();
//       student.name="小黑";
//       student.age=12;
//       student.stuNum="6020242578";
//        System.out.println(student.name+student.age+student.stuNum);
//        student.goToSchool();
//
//       Student student1=new Student();
//       student1.name="小红";
//       student1.age=10;
//       student1.stuNum="6020242580";
//        System.out.println(student1.name+student1.age+student1.stuNum);
//        student1.eat();

//        Student student8=new Student();
//        System.out.println(student8.name+student8.age+student8.stuNum);
//
//
//        Student student3=new Student("小明",18,"6020242579");
//        System.out.println(student3.name+student3.age+student3.stuNum);
//        student3.goToShopping();
//        Student student6=new Student();
//        student6.setName("小哈");
//        System.out.println(student6.getName());
//
//        int[] array=new int[]{1,3,5,7,9};
//        System.out.println(java.util.Arrays.toString(array));
//        Date date=new Date(10);
//        java.sql.Date date1=new java.sql.Date(10);
//
//        int a=10;
//        int b=20;
//        double c=Math.sqrt(Math.pow(a,2)+Math.pow(b,2));
//        double d=sqrt(pow(a,2)+pow(b,2));
//        System.out.println(c);
        TextMeda textMeda=new TextMeda();
        textMeda.test();
    }
}
